<?php

/**
 * 首页
 * User: tsang
 * Date: 2017/9/14
 * Time: 20:11
 */

namespace app\home\Controller;
use think\Controller;
use think\Db;

class Base extends Controller
{
    function __construct(){
    	$is_mobile = is_mobile();

    	if($is_mobile){
    		$this->redirect('/mobile/Index/index');
    	}

        parent::__construct();
    }
}